<!doctype html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
          name="viewport">
    <meta content="ie=edge" http-equiv="X-UA-Compatible">
    <title>系统后台管理</title>
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="metronic/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="metronic/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="metronic/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet">
    <!-- END GLOBAL MANDATORY STYLES -->

    <!-- BEGIN THEME STYLES -->
    <link href="metronic/assets/global/css/components.css" rel="stylesheet">
    <link href="metronic/assets/global/css/plugins.css" rel="stylesheet">
    <link href="metronic/assets/admin/layout/css/layout.css" rel="stylesheet">
    <link href="metronic/assets/admin/layout/css/themes/blue.css" rel="stylesheet">
    <link href="metronic/assets/admin/layout/css/custom.css" rel="stylesheet">
    <!-- END THEME STYLES -->
    <style type="text/css">
        html, body, .page-content-wrapper, .page-content {
            height: 100%;
        }

        .page-container {
            height: calc(100% - 46px);
        }

        .logo-custom {
            height: 42px;
            width: 162px;
            margin-top: 4px !important;
            border: 0;
        }
    </style>
</head>
<body class="page-header-fixed page-quick-sidebar-over-content page-sidebar-closed-hide-logo page-container-bg-solid">
<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
    <!-- BEGIN HEADER INNER -->
    <div class="page-header-inner">
        <!-- BEGIN LOGO -->
        <div class="page-logo">
            <a href="/">
                <!--<img src="img/system/logoE_b.png" alt="logo" class="logo-default" style="margin-top:6px;" />
                <img src="img/system/logo_b.png" alt="logo" class="logo-default" style="margin-top:6px;"/>-->
                <img alt="logo" class="logo-default logo-custom" th:src="${logoUrl}"/>
                <!--style="margin-top:12px; width: 160px;"-->
                <!-- <img src="img/system/111.svg" alt="logo" class="logo-default logo-custom" />-->
            </a>
            <div class="sysResource-toggler sidebar-toggler">
            </div>
        </div>
        <!-- END LOGO -->
        <!-- BEGIN RESPONSIVE MENU TOGGLER -->
        <a class="sysResource-toggler responsive-toggler" data-target=".navbar-collapse" data-toggle="collapse"
           href="javascript:;">
        </a>
        <span style="margin-left:0px; font-size:20px; color:#fff; float:left; margin-top:9px; border-left:solid 2px #FF0000; padding-left:6px;">综合数据服务平台</span>
        <!-- END RESPONSIVE MENU TOGGLER -->
        <!-- BEGIN TOP NAVIGATION MENU -->
        <div class="top-sysResource">
            <ul class="nav navbar-nav pull-right">
                <!-- BEGIN USER LOGIN DROPDOWN -->
                <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
                <li class="dropdown dropdown-user">
                    <a class="dropdown-toggle" data-close-others="true" data-hover="dropdown" data-toggle="dropdown"
                       href="javascript:;">
                        <img alt="" class="img-circle" src="metronic/assets/admin/layout/img/avatar.png"/>
                        <span class="username username-hide-on-mobile" th:text="${name}"></span>
                        <i class="fa fa-angle-down"></i>
                    </a>
                    <ul class="dropdown-sysResource dropdown-sysResource-default" th:if="${securityEnable}">
                        <li>
                            <a class="sysResource-a" href="/userDetail" target="sysIframe">
                                <i class="fa fa-user-o"></i> 用户详情
                            </a>
                        </li>
                        <li>
                            <a class="sysResource-a" href="/updatePassword" target="sysIframe">
                                <i class="icon-lock"></i> 修改密码
                            </a>
                        </li>
                        <li>
                            <a href="/logout">
                                <i class="icon-key"></i> 退出
                            </a>
                        </li>
                    </ul>
                </li>
                <!-- END USER LOGIN DROPDOWN -->
                <!-- BEGIN QUICK SIDEBAR TOGGLER -->
                <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
                <li class="dropdown dropdown-quick-sidebar-toggler" style="display: none;">
                    <a class="dropdown-toggle" href="javascript:;" title="初始化数据">
                        <i class="icon-cloud-upload"></i>
                    </a>
                </li>
                <!-- END QUICK SIDEBAR TOGGLER -->
            </ul>
        </div>
        <!-- END TOP NAVIGATION MENU -->
    </div>
    <!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
<div class="clearfix"></div>
<!-- BEGIN CONTAINER -->
<div class="page-container">
    <!-- BEGIN SIDEBAR -->
    <div class="page-sidebar-wrapper">
        <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
        <!-- DOC: Change data-auto-speed="200" to adjust the sub sysResource slide up/down speed -->
        <div class="page-sidebar navbar-collapse collapse">
            <!-- BEGIN SIDEBAR MENU -->
            <!-- DOC: Apply "page-sidebar-sysResource-light" class right after "page-sidebar-sysResource" to enable light sidebar sysResource style(without borders) -->
            <!-- DOC: Apply "page-sidebar-sysResource-hover-submenu" class right after "page-sidebar-sysResource" to enable hoverable(hover vs accordion) sub sysResource mode -->
            <!-- DOC: Apply "page-sidebar-sysResource-closed" class right after "page-sidebar-sysResource" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub sysResource mode -->
            <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
            <!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->
            <!-- DOC: Set data-auto-speed="200" to adjust the sub sysResource slide up/down speed -->
            <ul class="page-sidebar-sysResource " data-auto-scroll="true" data-keep-expanded="false" data-slide-speed="200">
                <li class="active open" th:if="${isAdmin}">
                    <a href="javascript:;">
                        <i class="icon-home"></i>
                        <span class="title">数据管理</span>
                        <span class="selected"></span>
                        <span class="arrow open"></span>
                    </a>
                    <ul class="sub-sysResource">
                        <li Dataurl="systemDataSource/index" class="active">
                            <a href="javascript:;">
                                <i class="icon-bar-chart"></i>
                                <span>数据源管理</span>
                            </a>
                        </li>
                        <li Dataurl="systemDataConfigList/index">
                            <a href="javascript:;">
                                <i class="icon-bulb"></i>
                                <span>元数据管理</span>
                            </a>
                        </li>
                        <!--
                        <li Dataurl="systemDataViewList/index">
                            <a href="javascript:;">
                                <i class="icon-book-open"></i>
                                <span>元数据视图配置</span>
                            </a>
                        </li>
                        -->
                    </ul>
                </li>
                <li th:class="${isAdmin} ? '' : 'active open'">
                    <a href="javascript:;">
                        <i class="icon-briefcase"></i>
                        <span class="title">服务管理</span>
                        <span class="arrow "></span>
                    </a>
                    <ul class="sub-sysResource">
                        <li Dataurl="projectManager/index" th:if="${isAdmin}">
                            <a href="javascript:;">
                                <i class="icon-flag"></i>
                                <span>服务类别</span>
                            </a>
                        </li>
                        <li Dataurl="prjService/index" th:class="${isAdmin} ? '' : 'active'">
                            <a href="javascript:;">
                                <i class="icon-rocket"></i>
                                <span>数据查询服务</span>
                            </a>
                        </li>
                        <!-- <li Dataurl="serviceFunc/index"> -->
                        <!--     <a href="javascript:;"> -->
                        <!--         <i class="icon-target"></i> -->
                        <!--         <span>函数配置</span> -->
                        <!--     </a> -->
                        <!-- </li> -->
                        <!--
                       <li Dataurl="pageBaseInfo/index">
                           <a href="javascript:;">
                               <i class="icon-book-open"></i>
                               <span>页面配置</span>
                           </a>
                       </li>
                       -->
                    </ul>
                </li>

                <li th:class="${isAdmin} ? '' : 'active open'">
                    <a href="javascript:;">
                        <i class="icon-briefcase"></i>
                        <span class="title">访问控制管理</span>
                        <span class="arrow "></span>
                    </a>
                    <ul class="sub-sysResource">
                        <li Dataurl="applicationCode/index" th:if="${isAdmin}">
                            <a href="javascript:;">
                                <i class="icon-flag"></i>
                                <span>调用方管理</span>
                            </a>
                        </li>

                        <li Dataurl="acStationInfo/index" th:if="${isAdmin}">
                            <a href="javascript:;">
                                <i class="icon-flag"></i>
                                <span>测站管理</span>
                            </a>
                        </li>

                    </ul>
                </li>



                <!-- <li > -->
                <!--     <a href="javascript:;"> -->
                <!--         <i class="icon-wallet"></i> -->
                <!--         <span class="title">页面管理</span> -->
                <!--         <span class="arrow "></span> -->
                <!--     </a> -->
                <!--     <ul class="sub-sysResource"> -->
                <!--         <li Dataurl="serviceMenu/index"> -->
                <!--             <a href="javascript:;"> -->
                <!--                 <i class="icon-link"></i> -->
                <!--                 <span>菜单配置</span> -->
                <!--             </a> -->
                <!--         </li> -->
                <!--         <li Dataurl="pageGenerator/index"> -->
                <!--             <a href="javascript:;"> -->
                <!--                 <i class="icon-cursor"></i> -->
                <!--                 <span>前端配置</span> -->
                <!--             </a> -->
                <!--         </li> -->
                <!--         <li Dataurl="prjtemp/index"> -->
                <!--             <a href="javascript:;"> -->
                <!--                 <i class="icon-cursor"></i> -->
                <!--                 <span>模板配置</span> -->
                <!--             </a> -->
                <!--         </li> -->
                <!--     </ul> -->
                <!-- </li> -->
                <li th:if="${isAdmin}">
                    <a href="javascript:;">
                        <i class="icon-settings"></i>
                        <span class="title">系统管理</span>
                        <span class="arrow "></span>
                    </a>
                    <ul class="sub-sysResource">
                        <!--                        <li Dataurl="systemIndex/index">-->
                        <!--                            <a href="javascript:;">-->
                        <!--                                <i class="icon-wallet"></i>-->
                        <!--                                <span>导出数据</span>-->
                        <!--                            </a>-->
                        <!--                        </li>-->

                        <!--<li Dataurl="code/index">-->
                        <!--<a href="javascript:;">-->
                        <!--<i class="icon-rocket"></i>-->
                        <!--<span>编码配置</span>-->
                        <!--</a>-->
                        <!--</li>-->
                        <!--                        <li Dataurl="authorization/index">-->
                        <!--                            <a href="javascript:;">-->
                        <!--                                <i class="icon-rocket"></i>-->
                        <!--                                <span>授权管理</span>-->
                        <!--                            </a>-->
                        <!--                        </li>-->
                        <li Dataurl="server/index">
                            <a href="javascript:;">
                                <i class="icon-puzzle"></i>
                                <span>基本服务配置</span>
                            </a>
                        </li>
                        <!--<li Dataurl="reportTemplate/index">-->
                        <!--<a href="javascript:;">-->
                        <!--<i class="icon-folder"></i>-->
                        <!--<span>报表模板配置</span>-->
                        <!--</a>-->
                        <!--</li>-->
                        <!--<li Dataurl="uploadFile/index">-->
                        <!--<a href="javascript:;">-->
                        <!--<i class="icon-folder"></i>-->
                        <!--<span>文件上传</span>-->
                        <!--</a>-->
                        <!--</li>-->
                        <!-- <li Dataurl="performanceMonitor/index"> -->
                        <!--     <a href="javascript:;"> -->
                        <!--         <i class="icon-folder"></i> -->
                        <!--         <span>性能监控服务</span> -->
                        <!--     </a> -->
                        <!-- </li> -->
                        <!--<li Dataurl="logger/index">-->
                        <!--<a href="javascript:;">-->
                        <!--<i class="icon-eye"></i>-->
                        <!--<span>日志监控</span>-->
                        <!--</a>-->
                        <!--</li>-->
                        <!--<li Dataurl="sqlInfo/index">-->
                        <!--<a href="javascript:;">-->
                        <!--<i class="icon-eye"></i>-->
                        <!--<span>脚本执行信息</span>-->
                        <!--</a>-->
                        <!--</li>-->

                        <!--                        <li Dataurl="systemValidation/index">-->
                        <!--                            <a href="javascript:;">-->
                        <!--                                <i class="icon-eye"></i>-->
                        <!--                                <span>校验规则维护</span>-->
                        <!--                            </a>-->
                        <!--                        </li>-->

                        <!--                        <li Dataurl="userManagement/index" th:if="${securityEnable}">-->
                        <!--                            <a href="javascript:;">-->
                        <!--                                <i class="icon-cursor"></i>-->
                        <!--                                <span>用户管理</span>-->
                        <!--                            </a>-->
                        <!--                        </li>-->

                        <!--<li Dataurl="systemSetup/index">-->
                        <!--<a href="javascript:;">-->
                        <!--<i class="icon-puzzle"></i>-->
                        <!--<span>系统配置</span>-->
                        <!--</a>-->
                        <!--</li>-->
                    </ul>
                </li>
                <!--                <li >-->
                <!--                    <a href="javascript:;">-->
                <!--                        <i class="icon-wallet"></i>-->
                <!--                        <span class="title">数据分析管理</span>-->
                <!--                        <span class="arrow "></span>-->
                <!--                    </a>-->
                <!--                    <ul class="sub-sysResource">-->
                <!--                        <li Dataurl="systemDataContent/index?mark=2">-->
                <!--                            <a href="javascript:;">-->
                <!--                                <i class="icon-flag"></i>-->
                <!--                                <span>数据资源目录</span>-->
                <!--                            </a>-->
                <!--                        </li>-->
                <!--                        <li Dataurl="callInterfaceRecordAnalyze/index">-->
                <!--                            <a href="javascript:;">-->
                <!--                                <i class="icon-link"></i>-->
                <!--                                <span>服务调用日志记录</span>-->
                <!--                            </a>-->
                <!--                        </li>-->
                <!--                    </ul>-->
                <!--                </li>-->
            </ul>
            <!-- END SIDEBAR MENU -->
        </div>
    </div>
    <!-- END SIDEBAR -->
    <!-- BEGIN CONTENT -->
    <div class="page-content-wrapper">
        <div class="page-content">
            <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
            <div
                    aria-hidden="true"
                    aria-labelledby="myModalLabel"
                    class="modal fade"
                    id="portlet-config"
                    role="dialog"
                    tabindex="-1"
            >
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button aria-hidden="true" class="close" data-dismiss="modal" type="button"></button>
                            <h4 class="modal-title">Modal title</h4>
                        </div>
                        <div class="modal-body">
                            Widget settings form goes here
                        </div>
                        <div class="modal-footer">
                            <button class="btn blue" type="button">Save changes</button>
                            <button class="btn default" data-dismiss="modal" type="button">Close</button>
                        </div>
                    </div>
                    <!-- /.modal-content -->
                </div>
                <!-- /.modal-dialog -->
            </div>
            <!-- /.modal -->
            <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->

            <!-- BEGIN PAGE HEADER-->
            <div class="page-bar">
                <ul class="page-breadcrumb">
                    <li>
                        <i class="fa fa-home"></i>
                        <a href="javascript:void();">系统后台管理</a>
                        <i class="fa fa-angle-right"></i>
                    </li>
                    <li>
                        <a href="javascript:void();" id="navLoyoutID" th:text="${isAdmin} ? '数据源管理' : '数据查询服务'"></a>
                    </li>
                </ul>
            </div>
            <!-- END PAGE HEADER-->
            <!-- Begin NewFrame -->
            <iframe border="0" frameborder="no" id="sysIframe"
                    marginheight="0"
                    marginwidth="0"
                    name="sysIframe"
                    scrolling="no"
                    style="height: calc(100% - 20px); width: 100%;"
                    th:src="${isAdmin} ? 'systemDataSource/index' : 'prjService/index'"></iframe>

            <!-- End NewFrame -->
        </div>
    </div>
    <!-- END CONTENT -->
</div>
<script src="metronic/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="metronic/assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="metronic/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="metronic/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script
        src="metronic/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"
        type="text/javascript"
></script>
<script
        src="metronic/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
        type="text/javascript"
></script>
<script src="metronic/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="metronic/assets/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="metronic/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script
        src="metronic/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js"
        type="text/javascript"
></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->

<script src="metronic/assets/global/plugins/jquery.pulsate.min.js" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="metronic/assets/global/scripts/metronic.js" type="text/javascript"></script>
<script src="metronic/assets/admin/layout/scripts/layout.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->

<script src="js/systemManager/systemLayout.js" type="text/javascript"></script>
</body>
</html>
